package cn.ffcs.bpm.model;


import java.util.Date;

import cn.ffcs.base.model.BaseEntity;
import cn.ffcs.businessrequest.model.BusinessRequest;

/**
 * 实体类：定义基本属性<br/>
 * <table>
 * <tr>
 * <td>负责人/principal:</td>
 * <td colspan="2">g.pany</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:2009-4-20</td>
 * <td>修改人:g.pany</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author g.pany
 * @version $Id$
 */

public class TransactProcessStatus extends BaseEntity
{
       
    /** 业务实体关联**/
    private String refEntity;
    
    /** 业务实体ID**/
    private BusinessRequest refEntityId;
    
    /** 当前所属流程**/
    private ProcessConfig currProcessConfig;
    
    /** 当前流程步骤**/
    private String currProcessStep;
    
    /** 当前流程节点**/
    private ProcessConfigDetail currProcessConfigDetail;
    
    /** 当前办理人**/
    private String currTransactor;
        
    /** 前一流程**/
    private ProcessConfig preProcessConfig;
    
    /** 前一流程步骤**/
    private String preProcessStep;
    
    /** 前一流程节点**/
    private ProcessConfigDetail preProcessConfigDetail;
    
    /** 前一流程办理人**/
    private String preTransactor;

    /** 办理时限**/
    private Date timeLimit;

    private Integer parentId;
    
    private String state;
    
    private Integer actId;
    private Integer procinstId;
    
    /** default constructor */
    public TransactProcessStatus() {
    }

    /** minimal constructor */
    public TransactProcessStatus(int id) {
        this.id = id;
    }

    public ProcessConfig getCurrProcessConfig()
    {
        return currProcessConfig;
    }

    public void setCurrProcessConfig(ProcessConfig currProcessConfig)
    {
        this.currProcessConfig = currProcessConfig;
    }

    public ProcessConfigDetail getCurrProcessConfigDetail()
    {
        return currProcessConfigDetail;
    }

    public void setCurrProcessConfigDetail(
            ProcessConfigDetail currProcessConfigDetail)
    {
        this.currProcessConfigDetail = currProcessConfigDetail;
    }

    public String getCurrProcessStep()
    {
        return currProcessStep;
    }

    public void setCurrProcessStep(String currProcessStep)
    {
        this.currProcessStep = currProcessStep;
    }

    public String getCurrTransactor()
    {
        return currTransactor;
    }

    public void setCurrTransactor(String currTransactor)
    {
        this.currTransactor = currTransactor;
    }

    public ProcessConfig getPreProcessConfig()
    {
        return preProcessConfig;
    }

    public void setPreProcessConfig(ProcessConfig preProcessConfig)
    {
        this.preProcessConfig = preProcessConfig;
    }

    public ProcessConfigDetail getPreProcessConfigDetail()
    {
        return preProcessConfigDetail;
    }

    public void setPreProcessConfigDetail(ProcessConfigDetail preProcessConfigDetail)
    {
        this.preProcessConfigDetail = preProcessConfigDetail;
    }

    public String getPreProcessStep()
    {
        return preProcessStep;
    }

    public void setPreProcessStep(String preProcessStep)
    {
        this.preProcessStep = preProcessStep;
    }

    public String getPreTransactor()
    {
        return preTransactor;
    }

    public void setPreTransactor(String preTransactor)
    {
        this.preTransactor = preTransactor;
    }

    public String getRefEntity()
    {
        return refEntity;
    }

    public void setRefEntity(String refEntity)
    {
        this.refEntity = refEntity;
    }

    public BusinessRequest getRefEntityId()
    {
        return refEntityId;
    }

    public void setRefEntityId(BusinessRequest refEntityId)
    {
        this.refEntityId = refEntityId;
    }

    public Date getTimeLimit()
    {
        return timeLimit;
    }

    public void setTimeLimit(Date timeLimit)
    {
        this.timeLimit = timeLimit;
    }

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Integer getActId() {
		return actId;
	}

	public void setActId(Integer actId) {
		this.actId = actId;
	}

	public Integer getProcinstId() {
		return procinstId;
	}

	public void setProcinstId(Integer procinstId) {
		this.procinstId = procinstId;
	}

}
